package com.qkst.website.web.service;

import java.util.List;
import java.util.Map;

import com.qkst.website.web.bean.OrderBean;

/**
 * @author lihao
 * @description 订单service
 * @date 2017-05-03
 */
public interface OrderService {

	/**
	 * 根据条件查询订单
	 * @param order
	 * @return
	 */
	public List<OrderBean> queryOrderList(OrderBean order);
	
	/**查询总记录数
	 * @param order
	 * @return
	 */
	public int queryCount(OrderBean order);

	/**
	 * 保存订单
	 * @param order
	 * @param result 
	 * @return Map<String, Object>
	 */
	public void save(OrderBean order, Map<String, Object> result);

	/**
	 * 取消订单
	 * @param order
	 * @param result
	 */
	public void cancelOrder(OrderBean order, Map<String, Object> result);


}
